home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
SHELLS
/
SZ2
/
ADEMO7.DEF
< prev
next >
Wrap
Text File
|
1992-08-31
|
2KB
|
56 lines
.TUTORIAL - Adding Help Text
Since this is identical to the prior example, we'll re-use the custom
components and the definition. The only thing new is the help text
file (*.TXT).
First, you'll notice that the related *.TXT file is loaded along with
the *.DEF file. You can control this with the SETUP|IDE options.
Note that Help Text is compiled before the definition is processed.
The symbol file (*_X.PAS) is read, so that during the generate
process help symbol names (hcXX) can be checked against SubMenu and
Hint elements. This gives the option of either adding just the
symbols needed for help context, or appending new Hint Text to the
actual Help Text file (*.TXT).
You will probably not use Help Text switches right away; they are
meant to assist in the creation and maintainance of the *.TXT file.
Here are brief descriptions:
/ht0
Any hint text will be used to "dummy-up" a Help Text file. This is a
temporary file (named *.TX, not *.TXT) passed to the Help Compiler
after generation is complete.
/ht1
When you're ready to start work on the application's Help Text,
activate this switch and regenerate. Hint Text and hcXX symbols are
appended to the related *.TXT file, if not already present. If this
switch is on and the definition is changed, any hcXX and Hint Text
will be appended to the Help Text file the next time you generate.
/ht2
If you have a Help Text file (*.TXT), but don't want to keep the
"/ht1" switch active, this allows Hint Text to be temporarily used
as Help Text for any missing hcXX references.
/ht3
If Help Text is not important, such as during initial development or
experimentation, this switch causes all Help Text to be ignored. All
help context symbols (hcXX) are generated and numbered by SHAZAM.
Hint Text will be used, but no Help Text will be available.
See command-line switches or SETUP|Code dialog for more detail.
@PA - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ APPLICATION ] ademo6 ;;re-use prior stuff
[ INCLUDE ] ademo6